package com.hb.game.pk.adpter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hb.game.pk.R;
import com.hb.game.pk.beans.TXBean;

public class TXListAdpter extends BaseQuickAdapter<TXBean.DataBean.ListBean, BaseViewHolder> {
    public TXListAdpter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, TXBean.DataBean.ListBean item) {
        helper.setText(R.id.tv_money, (Float.parseFloat(item.getMoney()) / 100f) + "");
        helper.setText(R.id.tv_time, item.getTime());
    }
}
